package com.crissy.userService.mapper;

import com.crissy.userService.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crissy.userService.entity.UserInfo;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Crissy-月下闲人
 * @since 2023-11-10
 */
public interface UserMapper extends BaseMapper<User> {
    boolean existUser(String username);

    UserInfo loginSelect(User user);
}
